package com.yhl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@SpringBootApplication
public class Springboot02Application {

    @RequestMapping("/")
    String home() {
        return "login";
    }
    @RequestMapping("/admin")
    public String login(){
        return "login";
    }


    @RequestMapping("/pwdmodify")
    public String pwdModify(){
        return "pwdmodify";
    }
    @RequestMapping("/useradd")
    public String addUser(){
        return "useradd";
    }

    @RequestMapping("/provideradd")
    public String addProvider(){
        return "provideradd";
    }

    @RequestMapping("/billadd")
    public String addBill(){
        return "billadd";
    }
    public static void main(String[] args) {
        SpringApplication.run(Springboot02Application.class, args);
    }

}
